package cn.wolfcode.luowowo.service;


import cn.wolfcode.luowowo.domain.StrategyTheme;
import cn.wolfcode.luowowo.query.StrategyThemeQuery;
import org.springframework.data.domain.Page;

import java.util.List;

public interface IStrategyThemeService {
    StrategyTheme get(String id);
    List<StrategyTheme> list();

    void save(StrategyTheme strategyTheme);
    void update(StrategyTheme strategyTheme);
    void delete(String id);

    /**
     * 查询
     * @param qo
     * @return
     */
    Page<StrategyTheme> query(StrategyThemeQuery qo);

    /**
     * 保存和更新
     * @param strategyTheme
     */
    void saveOrUpdate(StrategyTheme strategyTheme);

}
